﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Medianamik.Core.CodeGeneration
{
    public class SqlInterfaceNameGenerator
    {
        private NodeTypeInterface _interface;

        public SqlInterfaceNameGenerator(NodeTypeInterface pInterface)
        {
            _interface = pInterface;
        }

        public string ViewNameSimple
        {
            get
            {
                return string.Concat("gen_", _interface.Name);
            }
        }

        public string ViewName
        {
            get
            {
                return string.Concat("[dbo].[vw_gen_", _interface.Name, "]");  
            }
        }
    }
}
